//1.导入vue和vuex
import Vue from 'vue'
import Vuex from 'vuex'
import user from './user.js'
import song from './song.js'

//安装Vuex
Vue.use(Vuex)

//3.创建Store的实例对象
const store  = new Vuex.Store({
	
	modules:{
		user:user,
		song:song
	}
})

//向外共享
export default store